﻿using GoodDotNet.Data.Models;
using GoodDotNet.Core.Model;

namespace GoodDotNet.Core.IRepository
{
    public interface IDataBaseRepository
    {
        /// <summary>
        /// 查询表的列名
        /// </summary>
        /// <param name="table_name">表名字</param>
        /// <returns></returns>

        public List<TableColumn> QueryTable(string table_name);
        /// <summary>
        /// 查表的主键
        /// </summary>
        /// <param name="table_name">表名</param>
        /// <returns></returns>
        public string queryTablePrimary(string table_name);
    }
}
